package com.tsvetanv.simpleformcontroller.example01.person.mvc.service;

import com.tsvetanv.simpleformcontroller.example01.person.mvc.model.ProgrammingLanguage;

public class BookServiceImpl implements BookService {

	public String recommendBook(ProgrammingLanguage programmingLanguage) {
		switch (programmingLanguage) {
		case C_PLUS_PLUS: {
			return "C++ Masters";
		}
		case C_SHARP: {
			return "Pro C# Patches";
		}
		case RUBY: {
			return "Ruby on Rails";
		}
		case JAVA: {
			return "JEE Specification";
		}
		case PYTHON: {
			return "Python tricks";
		}
		}
		return "";
	}

}
